package com.ddstation.onsitelaw.entity.auditentity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * mapping dt_health_data_medical_treament 门诊病历 成药处方
 *
 * @author jinxiongjun
 * @date 2018年1月13日
 */
public class DtHealthDataWestPrescriptionEntity {
    private Integer id;
    private Integer uid;
    private Integer childId;
    private Integer medicalId;//门诊病历ID
    private Integer itemId;//药品ID
    private String itemName;//药品名称
    private String drugUse;//用法
    private String frequency;//用药频率
    private Integer frequencyTimes;//用药频率 计算值
    private Float onceDose;//单次剂量
    private Integer onceDoseUnitType;//单次剂量开药量单位
    private String doseUnit;//单次剂量单位
    private Integer dosage;//开药总量
    private String dosageUnit;//开药量单位
    private Integer dosageUnitType;//开药量单位类型（拆零药品开药单位区分  1：大单位  2：小单位）
    private Integer itemQt1; //数量1(大单位)
    private Integer itemQt2;//数量2（拆零单位）

    private Float retailPrice;//单价
    private Integer prescribingNumber;//开药天数
    private Float totalPrice;//总价
    private String comment;
    private Integer preparationAmount;//制剂数量
    private String preparationUnit;//制剂单位
    private Float onceDoseBase; //单次剂量（药品表）
    private String drugUseText;
    private String frequencyText;
    private String spec;

    private String tmpPrescriptionId; //临时处方ID(生成新处方时用)
    private String prescriptionId;//处方ID
    private Integer groupNo;//药品组号
    private Integer drippingSpeed;//滴速
    private Integer skinTest;//皮试
    private Integer chargeStatus;//支付状态 0未支付 1已支付

    private Integer separate; //是否允许拆零  0：否  1：是',
    private String preparationUnitText; //制剂单位文本',
    private String stockKeepingUnitText; //库存单位文本

    private String containerNb;//货柜号
    private String producer;//生产厂商

    private Float separatePrice;//执零价
    private Float retailBigPrice;//整价

    private Integer doctorId;
    private String doctorName;
    private Date issueDt; //开具日期
    private String issueDtText;
    private Integer dispenseStatus; //发药状态

    private Integer source; // 0:本院 1:外配
    private Integer feeMode; // 0:免费 1:收费 2:医保

    private Integer baseItemId; // 核心药品表项目id

    private BigDecimal editRetailPrice;//修改总价后重新计算的单价
    private BigDecimal editTotalPrice;//修改总价后重新计算的总价

    private BigDecimal stockQt1;//库存1
    private BigDecimal stockQt2;//库存2

    private String doseUnitText;//剂量单位文本(等于默认用量单位文本)
    private Integer defaultQuantityType;//默认用量单位 0:按剂量单位开  1：按制剂单位开

    private String code;//编码
    private String prescriptionName;
    private String manufacturer;
    private String specification;
    private String conversionScale;

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getConversionScale() {
        return conversionScale;
    }

    public void setConversionScale(String conversionScale) {
        this.conversionScale = conversionScale;
    }

    public String getPrescriptionName() {
        return prescriptionName;
    }

    public void setPrescriptionName(String prescriptionName) {
        this.prescriptionName = prescriptionName;
    }

    public Integer getDosageUnitType() {
        return dosageUnitType;
    }

    public void setDosageUnitType(Integer dosageUnitType) {
        this.dosageUnitType = dosageUnitType;
    }

    public Integer getItemQt1() {
        return itemQt1;
    }

    public void setItemQt1(Integer itemQt1) {
        this.itemQt1 = itemQt1;
    }

    public Integer getItemQt2() {
        return itemQt2;
    }

    public void setItemQt2(Integer itemQt2) {
        this.itemQt2 = itemQt2;
    }

    public String getContainerNb() {
        return containerNb;
    }

    public void setContainerNb(String containerNb) {
        this.containerNb = containerNb;
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    public String getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(String prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public Integer getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(Integer groupNo) {
        this.groupNo = groupNo;
    }

    public Integer getDrippingSpeed() {
        return drippingSpeed;
    }

    public void setDrippingSpeed(Integer drippingSpeed) {
        this.drippingSpeed = drippingSpeed;
    }

    public DtHealthDataWestPrescriptionEntity() {
    }

    public DtHealthDataWestPrescriptionEntity(Integer uid, Integer childId, Integer medicalId) {
        super();
        this.uid = uid;
        this.childId = childId;
        this.medicalId = medicalId;
    }

    public String getDrugUseText() {
        return drugUseText;
    }

    public void setDrugUseText(String drugUseText) {
        this.drugUseText = drugUseText;
    }

    public String getFrequencyText() {
        return frequencyText;
    }

    public void setFrequencyText(String frequencyText) {
        this.frequencyText = frequencyText;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getChildId() {
        return childId;
    }

    public void setChildId(Integer childId) {
        this.childId = childId;
    }

    public Integer getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(Integer medicalId) {
        this.medicalId = medicalId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getDrugUse() {
        return drugUse;
    }

    public void setDrugUse(String drugUse) {
        this.drugUse = drugUse;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public Integer getFrequencyTimes() {
        return frequencyTimes;
    }

    public void setFrequencyTimes(Integer frequencyTimes) {
        this.frequencyTimes = frequencyTimes;
    }

    public String getDoseUnit() {
        return doseUnit;
    }

    public void setDoseUnit(String doseUnit) {
        this.doseUnit = doseUnit;
    }

    public Integer getDosage() {
        return dosage;
    }

    public void setDosage(Integer dosage) {
        this.dosage = dosage;
    }

    public String getDosageUnit() {
        return dosageUnit;
    }

    public void setDosageUnit(String dosageUnit) {
        this.dosageUnit = dosageUnit;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Float getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(Float retailPrice) {
        this.retailPrice = retailPrice;
    }

    public Integer getPrescribingNumber() {
        return prescribingNumber;
    }

    public void setPrescribingNumber(Integer prescribingNumber) {
        this.prescribingNumber = prescribingNumber;
    }

    public Float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Float getOnceDose() {
        return onceDose;
    }

    public void setOnceDose(Float onceDose) {
        this.onceDose = onceDose;
    }

    public Integer getOnceDoseUnitType() {
        return onceDoseUnitType;
    }

    public void setOnceDoseUnitType(Integer onceDoseUnitType) {
        this.onceDoseUnitType = onceDoseUnitType;
    }

    public Integer getPreparationAmount() {
        return preparationAmount;
    }

    public void setPreparationAmount(Integer preparationAmount) {
        this.preparationAmount = preparationAmount;
    }

    public String getPreparationUnit() {
        return preparationUnit;
    }

    public void setPreparationUnit(String preparationUnit) {
        this.preparationUnit = preparationUnit;
    }

    public Float getOnceDoseBase() {
        return onceDoseBase;
    }

    public void setOnceDoseBase(Float onceDoseBase) {
        this.onceDoseBase = onceDoseBase;
    }

    @Override
    public String toString() {
        return "DtHealthDataWestPrescriptionEntity{" +
                "id=" + id +
                ", uid=" + uid +
                ", childId=" + childId +
                ", medicalId=" + medicalId +
                ", itemId=" + itemId +
                ", itemName='" + itemName + '\'' +
                ", drugUse='" + drugUse + '\'' +
                ", frequency='" + frequency + '\'' +
                ", frequencyTimes=" + frequencyTimes +
                ", onceDose=" + onceDose +
                ", onceDoseUnitType=" + onceDoseUnitType +
                ", doseUnit='" + doseUnit + '\'' +
                ", dosage=" + dosage +
                ", dosageUnit='" + dosageUnit + '\'' +
                ", dosageUnitType=" + dosageUnitType +
                ", itemQt1=" + itemQt1 +
                ", itemQt2=" + itemQt2 +
                ", retailPrice=" + retailPrice +
                ", prescribingNumber=" + prescribingNumber +
                ", totalPrice=" + totalPrice +
                ", comment='" + comment + '\'' +
                ", preparationAmount=" + preparationAmount +
                ", preparationUnit='" + preparationUnit + '\'' +
                ", onceDoseBase=" + onceDoseBase +
                ", drugUseText='" + drugUseText + '\'' +
                ", frequencyText='" + frequencyText + '\'' +
                ", spec='" + spec + '\'' +
                ", tmpPrescriptionId='" + tmpPrescriptionId + '\'' +
                ", prescriptionId=" + prescriptionId +
                ", groupNo=" + groupNo +
                ", drippingSpeed=" + drippingSpeed +
                ", skinTest=" + skinTest +
                ", chargeStatus=" + chargeStatus +
                ", separate=" + separate +
                ", preparationUnitText='" + preparationUnitText + '\'' +
                ", stockKeepingUnitText='" + stockKeepingUnitText + '\'' +
                ", containerNb='" + containerNb + '\'' +
                ", producer='" + producer + '\'' +
                ", separatePrice=" + separatePrice +
                ", retailBigPrice=" + retailBigPrice +
                ", doctorId=" + doctorId +
                ", doctorName='" + doctorName + '\'' +
                ", issueDt=" + issueDt +
                ", issueDtText='" + issueDtText + '\'' +
                ", dispenseStatus=" + dispenseStatus +
                ", source=" + source +
                ", feeMode=" + feeMode +
                ", baseItemId=" + baseItemId +
                ", editRetailPrice=" + editRetailPrice +
                ", editTotalPrice=" + editTotalPrice +
                ", stockQt1=" + stockQt1 +
                ", stockQt2=" + stockQt2 +
                ", doseUnitText='" + doseUnitText + '\'' +
                ", defaultQuantityType=" + defaultQuantityType +
                '}';
    }

    public Integer getChargeStatus() {
        return chargeStatus;
    }

    public void setChargeStatus(Integer chargeStatus) {
        this.chargeStatus = chargeStatus;
    }

    public Integer getSeparate() {
        return separate;
    }

    public void setSeparate(Integer separate) {
        this.separate = separate;
    }

    public String getPreparationUnitText() {
        return preparationUnitText;
    }

    public void setPreparationUnitText(String preparationUnitText) {
        this.preparationUnitText = preparationUnitText;
    }

    public String getStockKeepingUnitText() {
        return stockKeepingUnitText;
    }

    public void setStockKeepingUnitText(String stockKeepingUnitText) {
        this.stockKeepingUnitText = stockKeepingUnitText;
    }

    public Integer getSkinTest() {
        return skinTest;
    }

    public void setSkinTest(Integer skinTest) {
        this.skinTest = skinTest;
    }

    public String getTmpPrescriptionId() {
        return tmpPrescriptionId;
    }

    public void setTmpPrescriptionId(String tmpPrescriptionId) {
        this.tmpPrescriptionId = tmpPrescriptionId;
    }

    public Float getSeparatePrice() {
        return separatePrice;
    }

    public void setSeparatePrice(Float separatePrice) {
        this.separatePrice = separatePrice;
    }

    public Float getRetailBigPrice() {
        return retailBigPrice;
    }

    public void setRetailBigPrice(Float retailBigPrice) {
        this.retailBigPrice = retailBigPrice;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Date getIssueDt() {
        return issueDt;
    }

    public void setIssueDt(Date issueDt) {
        this.issueDt = issueDt;
    }

    public String getIssueDtText() {
        return issueDtText;
    }

    public void setIssueDtText(String issueDtText) {
        this.issueDtText = issueDtText;
    }

    public Integer getDispenseStatus() {
        return dispenseStatus;
    }

    public void setDispenseStatus(Integer dispenseStatus) {
        this.dispenseStatus = dispenseStatus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getFeeMode() {
        return feeMode;
    }

    public void setFeeMode(Integer feeMode) {
        this.feeMode = feeMode;
    }


    public Integer getBaseItemId() {
        return baseItemId;
    }

    public void setBaseItemId(Integer baseItemId) {
        this.baseItemId = baseItemId;
    }

    public BigDecimal getEditRetailPrice() {
        return editRetailPrice;
    }

    public void setEditRetailPrice(BigDecimal editRetailPrice) {
        this.editRetailPrice = editRetailPrice;
    }

    public BigDecimal getEditTotalPrice() {
        return editTotalPrice;
    }

    public void setEditTotalPrice(BigDecimal editTotalPrice) {
        this.editTotalPrice = editTotalPrice;
    }

    public BigDecimal getStockQt1() {
        return stockQt1;
    }

    public void setStockQt1(BigDecimal stockQt1) {
        this.stockQt1 = stockQt1;
    }

    public BigDecimal getStockQt2() {
        return stockQt2;
    }

    public void setStockQt2(BigDecimal stockQt2) {
        this.stockQt2 = stockQt2;
    }

    public String getDoseUnitText() {
        return doseUnitText;
    }

    public void setDoseUnitText(String doseUnitText) {
        this.doseUnitText = doseUnitText;
    }

    public Integer getDefaultQuantityType() {
        return defaultQuantityType;
    }

    public void setDefaultQuantityType(Integer defaultQuantityType) {
        this.defaultQuantityType = defaultQuantityType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
